﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="yhgl.aspx.cs" Inherits="gly_yhgl" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:Panel ID="Panel1" runat="server">
        <asp:GridView ID="GridView1" runat="server" Width="96%" AllowPaging="True" AutoGenerateColumns="False" 
            OnSelectedIndexChanged="GridView1_SelectedIndexChanged" OnPageIndexChanging="GridView1_PageIndexChanging" >
            <Columns>
                <asp:BoundField DataField="id" HeaderText="用户ID" />
                <asp:BoundField DataField="name" HeaderText="用户名称" />
                <asp:BoundField DataField="Adress" HeaderText="地址" />
                <asp:BoundField DataField="Email" HeaderText="电子邮箱" />
                <asp:BoundField DataField="keys" HeaderText="用户权限" />
                <asp:HyperLinkField DataNavigateUrlFields="id" DataTextFormatString="{0:c}" HeaderText="用户详细信息" Text="查看" DataNavigateUrlFormatString="~/gly/yhxx.aspx?ID={0}" />
                <asp:TemplateField HeaderText="修改用户权限">
                    <ItemTemplate>
                        <asp:Button ID="Button2" runat="server" Font-Size="Large" Text="修改" Width="91px" OnClick="Button2_Click"/>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="删除用户信息">
                    <ItemTemplate>
                        <asp:Button ID="Button3" runat="server" Font-Size="Large" Text="删除" Width="97px" OnClick="Button3_Click"/>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <PagerSettings FirstPageText="首页" LastPageText="尾页" Mode="NextPrevious" NextPageText="下一页" PreviousPageText="上一页" />
        </asp:GridView>
    </asp:Panel>
    <asp:Label ID="lblOrder" runat="server"></asp:Label>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <asp:Label ID="Label1" runat="server" Font-Size="Large" ForeColor="Red"></asp:Label>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="ContentPlaceHolder5" Runat="Server">
</asp:Content>

